package cn.gok.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: chen fan
 * @since: 2022/11/14 17:05
 * @description:
 */
@Component
@Data
@ConfigurationProperties(prefix = "my.datasource")
public class MyDataSource1 {
    private String driver;
    private String username;
    private String password;
    private Integer size;
    private List<String> urls;



}
